package com.hxh.entity.input;


public class BasePageQuery {
    //当前页
    private Integer current;
    //每页显示数量
    private Integer pageSize;

    public Integer getCurrent() {
        return current == null ? 1 : current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return pageSize == null ? Integer.MAX_VALUE : pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
